package assetruleapi

import (
	ledgerapi "github.com/hyperledger/fabric-samples/asset-kx/chaincode-go/chaincode/ledger-api"
)

type AssetRuleContractApi interface {
	CreateOrUpdateAssetRule(ctx ledgerapi.TransactionContextInterface, assetRuleContent string) error
	ReadAssetRules(ctx ledgerapi.TransactionContextInterface, assetType, ruleType string) ([]*AssetRule, error)
}
